package com.zbkj.crmeb.export.vo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.crmeb.core.annotation.ConvertType;
import com.crmeb.core.annotation.UnitConvert;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品表
 * </p>
 *
 * @author Mr.Zhang
 * @since 2020-05-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ProductExcelVo对象", description = "产品导出")
public class StoreAdminProductExcelVo implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商品id")
    @ExcelColumn(value = "商品Id", col = 1)
    private Integer id;

    @ApiModelProperty(value = "商品图片")
    @ExcelColumn(value = "商品图片", col = 3)
    private String image;

    @ApiModelProperty(value = "商品名称")
    @ExcelColumn(value = "商品名称", col = 4)
    private String storeName;

    @ApiModelProperty(value = "关键字")
    @ExcelColumn(value = "商品国际编码", col = 2)
    private String keyword;

    @ApiModelProperty(value = "品牌名称")
    @ExcelColumn(value = "品牌名称", col = 5)
    private String brandName;

    @ExcelColumn(value = "分类", col = 6)
    private String cateName;

    @ApiModelProperty(value = "供应商名称")
    @ExcelColumn(value = "商户名称", col = 7)
    private String suppliersName;

    @ExcelColumn(value = "发货地", col = 8)
    private String tempName;

    @ExcelColumn(value = "创建时间", col = 18)
    private String createTime;
    
    private BigDecimal sourceCost;

    @ExcelColumn(value = "售价(欧元)", col = 12)
    private BigDecimal priceEur;

    @ExcelColumn(value = "原价(元)", col = 14)
    private BigDecimal otPriceRmb;

    private BigDecimal otPrice;

    private String attrSuk;

    @ExcelColumn(value = "库存", col = 17)
    private Integer attrStock;

    @ApiModelProperty(value = "商户Id(0为总后台管理员创建,不为0的时候是商户后台创建)")
    private Integer merId;

    @ApiModelProperty(value = "轮播图")
    private String sliderImage;

    @ApiModelProperty(value = "商品简介")
    private String storeInfo;

    @ApiModelProperty(value = "商品条码（一维码）")
    private String barCode;

    @ApiModelProperty(value = "分类id")
    private String cateId;

    @ApiModelProperty(value = "销售活动价格标识")
    private Boolean promoteFlag;

    @ApiModelProperty(value = "ERP成本活动价格标识")
    private Boolean erpPromFlag;

    @ApiModelProperty(value = "活动价格")
    private BigDecimal promotePrice;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "会员价格")
    private BigDecimal vipPrice;

    @ApiModelProperty(value = "邮费")
    private BigDecimal postage;

    @ApiModelProperty(value = "单位名")
    private String unitName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "状态（0：未上架，1：上架）")
    private Boolean isShow;

    @ApiModelProperty(value = "是否热卖")
    private Boolean isHot;

    @ApiModelProperty(value = "是否优惠")
    private Boolean isBenefit;

    @ApiModelProperty(value = "是否精品")
    private Boolean isBest;

    @ApiModelProperty(value = "是否新品")
    private Boolean isNew;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    @ApiModelProperty(value = "最后推送时间")
    private Date lastPushTime;

    @ApiModelProperty(value = "是否包邮")
    private Boolean isPostage;

    @ApiModelProperty(value = "是否删除")
    private Boolean isDel;

    @ApiModelProperty(value = "供应商id")
    private String suppliersId;

    @ApiModelProperty(value = "商户是否代理 0不可代理1可代理")
    private Boolean merUse;

    @ApiModelProperty(value = "获得积分")
    private BigDecimal giveIntegral;

    @ApiModelProperty(value = "成本价")
    @UnitConvert(ConvertType.COST)
    private BigDecimal cost;

    @ApiModelProperty(value = "秒杀状态 0 未开启 1已开启")
    private Boolean isSeckill;

    @ApiModelProperty(value = "砍价状态 0未开启 1开启")
    private Boolean isBargain;

    @ApiModelProperty(value = "是否优品推荐")
    private Boolean isGood;

    @ApiModelProperty(value = "是否单独分佣")
    private Boolean isSub;

    @ApiModelProperty(value = "虚拟销量")
    private Integer ficti;

    @ApiModelProperty(value = "浏览量")
    private Integer browse;

    @ApiModelProperty(value = "商品二维码地址(用户小程序海报)")
    private String codePath;

    @ApiModelProperty(value = "淘宝京东1688类型")
    private String soureLink;

    @ApiModelProperty(value = "主图视频链接")
    private String videoLink;

    @ApiModelProperty(value = "运费模板ID")
    private Integer tempId;

    @ApiModelProperty(value = "规格 0单 1多")
    private Boolean specType;

    @ApiModelProperty(value = "活动显示排序1=秒杀，2=砍价，3=拼团")
    private String activity;

    @ApiModelProperty(value = "品牌ID")
    private Integer brandId;

    @ApiModelProperty(value = "是否是欧洲商品")
    private Integer isEurope;

    @ApiModelProperty(value = "是否参加活动：0,未参加；1，参加")
    private Boolean isPromoter;

    @ApiModelProperty(value = "推荐时间")
    private Date bestTime;

    @ApiModelProperty(value = "上传图搜时间")
    private Date tusouImageTime;

    @ApiModelProperty(value = "是否可推送天猫")
    private Integer tmall;

    @ApiModelProperty(value = "成分")
    private String composition;

    @ApiModelProperty(value = "规格")
    @ExcelColumn(value = "规格", col = 16)
    private String dimension;

    @ApiModelProperty(value = "色号")
    @ExcelColumn(value = "色号", col = 10)
    private String colorCode;

    @ApiModelProperty(value = "季节代码")
    @ExcelColumn(value = "季节", col = 9)
    private String seasonCode;

    @ApiModelProperty(value = "标准商品id")
    private Integer normId;

    @ApiModelProperty(value = "是否置顶(1 是 2 否)")
    @TableField(exist = false)
    private Integer isTop;

    @ApiModelProperty(value = "税费 + 二段物流费用(元)")
    private BigDecimal taxAndSecondPrice;

    @ExcelColumn(value = "售价(元)", col = 11)
    private BigDecimal attrPrice;
    
    @ApiModelProperty(value = "市场价")
    @ExcelColumn(value = "原价(欧元)", col = 15)
    private BigDecimal attrOtPrice;

    @ApiModelProperty(value = "成本折扣")
    private String discount;

    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;

    @ApiModelProperty(value = "成本价(欧元)")
    private BigDecimal costEUR;

    @ExcelColumn(value = "售价折扣", col = 13)
    private String priceDiscount;

}
